# Contributor: Matthew T Hoare <matthew.t.hoare@gmail.com>
# Maintainer: Matthew T Hoare <matthew.t.hoare@gmail.com>
pkgname=nwg-launchers
pkgver=0.2.0
pkgrel=0
pkgdesc="GTK+ launchers for sway, i3 and some other window managers"
url="https://github.com/nwg-piotr/nwg-launchers"
arch="all"
license="GPL-3.0-or-later"
makedepends="cmake gtkmm3-dev meson nlohmann-json"
options="!check" # no checks
source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-launchers/archive/v$pkgver.tar.gz"

build() {
	abuild-meson . output
	ninja -C output
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="4f04c8bae4a3cf8869d66b833d9528fffb65f27a04e254c38133f2cd3b046b2db3cdc61dec90c958f009ea79e68313741f71b29bc15a04f4905f0853b3b55553  nwg-launchers-0.2.0.tar.gz"
